package com.company.cm.cm.cm.weather_info.generated;

import com.company.cm.cm.cm.weather_info.WeatherInfo;
import com.speedment.common.annotation.GeneratedCode;
import com.speedment.runtime.config.identifier.TableIdentifier;
import com.speedment.runtime.core.manager.Manager;
import com.speedment.runtime.field.Field;

import java.util.List;

import static java.util.Arrays.asList;
import static java.util.Collections.unmodifiableList;

/**
 * The generated base interface for the manager of every {@link
 * com.company.cm.cm.cm.weather_info.WeatherInfo} entity.
 * <p>
 * This file has been automatically generated by Speedment. Any changes made to
 * it will be overwritten.
 * 
 * @author Speedment
 */
@GeneratedCode("Speedment")
public interface GeneratedWeatherInfoManager extends Manager<WeatherInfo> {
    
    TableIdentifier<WeatherInfo> IDENTIFIER = TableIdentifier.of("cm", "cm", "weather_info");
    List<Field<WeatherInfo>> FIELDS = unmodifiableList(asList(
        WeatherInfo.ID,
        WeatherInfo.STATION_NUMBER,
        WeatherInfo.TEMPERATURE,
        WeatherInfo.CURRENT_WEATHER,
        WeatherInfo.WIND_DIRECTION,
        WeatherInfo.WIND_LEVEL,
        WeatherInfo.PM_LEVEL,
        WeatherInfo.RELA_HUMI,
        WeatherInfo.RAIN_COUNT,
        WeatherInfo.CREATE_TIME,
        WeatherInfo.OBSERVATION_DATA_DATE,
        WeatherInfo.UPDATE_TIME,
        WeatherInfo.DEVICE_ID,
        WeatherInfo.CANOPY_TEMPERATURE
    ));
    
    @Override
    default Class<WeatherInfo> getEntityClass() {
        return WeatherInfo.class;
    }
}